import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';

class IconWidget {
 
  static Widget _getImage(Color col1,IconData icon1)
  {
    return new CircleAvatar(
      backgroundColor:col1,
      radius: 16.0,
      child: Icon(icon1,color: Colors.white,),
    );
  }

  static Widget getImage(Color col1,IconData icon1)
  {
    return new CircleAvatar(
      backgroundColor:col1,
      radius: 16.0,
      child: Icon(icon1,color: Colors.white,),
    );
  }

  static Widget _getImage2(Color col1,IconData icon1,double size1)
  {
    return new CircleAvatar(
      backgroundColor:Colors.white,
      radius: 16.0,
      child: Icon(icon1,color: col1,size: size1,),
    );
  }

  static Widget ShipImage() {
     return _getImage(Colors.blue,  Icons.insert_drive_file);
  }

  

  static Widget UserImage(String Name) {
     return _getImage(Colors.blue,  Icons.person);
  }

  static Widget RiverImage() {
     return _getImage(Colors.blue,  Icons.location_on);
  }

  static Widget ProblemImage() {
     return _getImage(Colors.green,  Icons.help);
  }
    static Widget ProblemImage2() {
     return _getImage(Colors.red,  Icons.help);
  }

  static Widget DangerImage() {
     return _getImage(Colors.green,  Icons.warning);
  }

    static Widget CheckImage() {
     return _getImage(Colors.blue,  Icons.report);
  }

  
  static Widget DangerImage2() {
     return _getImage(Colors.red,  Icons.warning);
  }

  static Widget SkddlImage() {
     return _getImage(Colors.blue,  Icons.device_hub);
  }


  static Widget XHSSImage() {
     return _getImage(Colors.blue,  Icons.trip_origin);
  }

  
  static Widget XHSSImage2(Color col1) {
     return _getImage2(col1,  Icons.trip_origin,24.0);
  }

  static Widget JXGZPImage() {
     return _getImage(Colors.blue,  Icons.featured_play_list);
  }


  static Widget SystemUpdateImage() {
     return _getImage(Colors.blue,  Icons.donut_large);
  }

  static Widget StationImage() {
     return _getImage(Colors.blue,  Icons.local_activity);
  }


  static Widget RiverItemImage() {
   return _getImage(Colors.blue,  Icons.timeline);
  }


  static Widget InspectReportImage() {
   return _getImage(Colors.blue,  Icons.directions_bike);
  }

  static Widget ExamStageImage() {
   return _getImage(Colors.blue,  Icons.assessment);
  }

static Widget InstructionImage() {
   return _getImage(Colors.blue,  Icons.device_hub);
}


}
